/*
 * @Author: aggfb 714740235@qq.com
 * @Date: 2024-10-01 10:22:07
 * @LastEditors: aggfb 714740235@qq.com
 * @LastEditTime: 2024-10-01 10:37:40
 * @FilePath: \baking_machine\bsp\bsp_gpio.c
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#include "bsp_gpio.h"

void bsp_gpio_init(void)
{
    rcu_periph_clock_enable(RCU_GPIOE);

    /* 指示LED灯 */
    gpio_init(PORT_MOTOR_LED, GPIO_MODE_OUT_PP, GPIO_OSPEED_2MHZ, PIN_MOTOR_LED);
    gpio_bit_reset(PORT_MOTOR_LED, PIN_MOTOR_LED);
}
